package com.tanhua.dubbo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanhua.dubbo.pojo.Announcement;
import com.tanhua.dubbo.pojo.BlackList;
import com.tanhua.dubbo.pojo.Settings;

public interface MyCenterApi {

     Settings querySettings(Long userId) ;

     Integer save(Settings settings);

     void updateNotification(Long userId, Boolean likeNotification, Boolean pinglunNotification, Boolean gonggaoNotification);

    IPage<Announcement> queryAnnouncementsList(Integer page, Integer pageSize);

    IPage<BlackList> queryBlacklist(Long userId, Integer page, Integer pageSize);

    Boolean delBlacklist(Long userId, Long blackUserId);
}
